package com.entity;

import java.util.Date;

/**
 * Info entity. @author MyEclipse Persistence Tools
 */

public class Info implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Admin admin;
	private InfoType infoType;
	private String infoTitle;
	private String infoContent;
	private Date insertTime;
	private Integer infoViews;
	private Boolean isDeleted;
	private String tags;

	// Constructors

	/** default constructor */
	public Info() {
	}

	/** full constructor */
	public Info(Admin admin, InfoType infoType, String infoTitle,
			String infoContent, Date insertTime, Integer infoViews,
			Boolean isDeleted) {
		this.admin = admin;
		this.infoType = infoType;
		this.infoTitle = infoTitle;
		this.infoContent = infoContent;
		this.insertTime = insertTime;
		this.infoViews = infoViews;
		this.isDeleted = isDeleted;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public InfoType getInfoType() {
		return this.infoType;
	}

	public void setInfoType(InfoType infoType) {
		this.infoType = infoType;
	}

	public String getInfoTitle() {
		return this.infoTitle;
	}

	public void setInfoTitle(String infoTitle) {
		this.infoTitle = infoTitle;
	}

	public String getInfoContent() {
		return this.infoContent;
	}

	public void setInfoContent(String infoContent) {
		this.infoContent = infoContent;
	}

	public Date getInsertTime() {
		return this.insertTime;
	}

	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}

	public Integer getInfoViews() {
		return this.infoViews;
	}

	public void setInfoViews(Integer infoViews) {
		this.infoViews = infoViews;
	}

	public Boolean getIsDeleted() {
		return this.isDeleted;
	}

	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

}